package com.yf.entity;

import lombok.Data;

import java.time.LocalDateTime;

/*********************************************************
 ** 测试订单类
 ** <br><br>
 ** @author: yangfeng
 ** @date: 2023/12/20 10:59
 ** @version: 1.0.0
 *********************************************************/
@Data
//@Document(indexName = "order")
public class TsOrder {
    /**
     * 主键
     */
//    @Id
//    @Field(store=true, index = false,type = FieldType.Text)
    private String uuid;
    /**
     * 商品名称
     */
//    @Field(index = true,type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_smart")
    private String productName;
    /**
     * 用户名称
     */
//    @Field(index = true,type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_smart")
    private String userName;
    /**
     * 价格
     */
//    @Field(type = FieldType.Double)
    private Double price;
    /**
     * 创建时间
     */
//    @Field(type = FieldType.Date, format = DateFormat.date_hour_minute_second, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime crtTime;
}
